package ooday01.homework2;

public class CarTest {
    public static void main(String[] args) {
        Car car1=new Car();
        car1.brand="凯迪拉克";
        car1.color="金色";
        car1.price=200000;
        car1.start();
        car1.run();
        car1.stop();

        Car car2=new Car("小米","白色",200000);
        car2.start();
        car2.run();
        car2.stop();
    }
}
